Optimal. Leaf size=24 \[ -\frac {\text {Li}_2\left (\frac {e (f+g x)}{e f-d g}\right )}{g} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {2440, 2438}
\begin {gather*} -\frac {\text {PolyLog}\left (2,\frac {e (f+g x)}{e f-d g}\right )}{g} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2438
Rule 2440
Rubi steps
\begin {align*} \int \frac {\log \left (-\frac {g (d+e x)}{e f-d g}\right )}{f+g x} \, dx &=\frac {\text {Subst}\left (\int \frac {\log \left (1-\frac {e x}{e f-d g}\right )}{x} \, dx,x,f+g x\right )}{g}\\ &=-\frac {\text {Li}_2\left (\frac {e (f+g x)}{e f-d g}\right )}{g}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 24, normalized size = 1.00 \begin {gather*} -\frac {\text {Li}_2\left (\frac {e (f+g x)}{e f-d g}\right )}{g} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.37, size = 35, normalized size = 1.46
method | result | size |
derivativedivides | \(-\frac {\dilog \left (\frac {e g x}{d g -e f}+\frac {d g}{d g -e f}\right )}{g}\) | \(35\) |
default | \(-\frac {\dilog \left (\frac {e g x}{d g -e f}+\frac {d g}{d g -e f}\right )}{g}\) | \(35\) |
risch | \(-\frac {\dilog \left (\frac {e g x}{d g -e f}+\frac {d g}{d g -e f}\right )}{g}\) | \(35\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 109 vs.
\(2 (26) = 52\).
time = 0.29, size = 109, normalized size = 4.54 \begin {gather*} -\frac {\log \left (g x + f\right ) \log \left (x e + d\right )}{g} + \frac {\log \left (g x + f\right ) \log \left (\frac {{\left (x e + d\right )} g}{d g - f e}\right )}{g} + \frac {\log \left (x e + d\right ) \log \left (-\frac {g x e + d g}{d g - f e} + 1\right ) + {\rm Li}_2\left (\frac {g x e + d g}{d g - f e}\right )}{g} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 30, normalized size = 1.25 \begin {gather*} -\frac {{\rm Li}_2\left (-\frac {g x e + d g}{d g - f e} + 1\right )}{g} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\log {\left (- \frac {d g}{- d g + e f} - \frac {e g x}{- d g + e f} \right )}}{f + g x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.39, size = 23, normalized size = 0.96 \begin {gather*} -\frac {{\mathrm {Li}}_{\mathrm {2}}\left (\frac {g\,\left (d+e\,x\right )}{d\,g-e\,f}\right )}{g} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________